package com.shimao.celnet.payment.report.excel;

/**
 * 支付日报日汇总实体类
 * Created by ensure.xu on 2017/12/25.
 */
public class ExcelInvoiceDayTotal {

    /**
     * 序号
     */
    private String indexNomber;
    private String guid;
    /**
     * 开票日期
     */
    private String invoiceDate;

    /**
     * 小区名称
     */
    private String estateName;

    /**
     * 小区SF-GUID
     */
    private String estateSfGuid;

    /**
     * 业务类型
     */
    private String businessType;
    private String businessTypeName;

    /**
     * 蓝票
     */
    private String blueInvoiceTotalPrice;
    private String blueInvoiceTotalTax;
    private String blueInvoiceTotalPriceTax;
    /**
     * 红票
     */
    private String redInvoiceTotalPrice;
    private String redInvoiceTotalTax;
    private String redInvoiceTotalPriceTax;

    /**
     * 蓝票作废
     */
    private String invlidBlueInvoiceTotalPrice;
    private String invlidBlueInvoiceTotalTax;
    private String invlidBlueInvoiceTotalPriceTax;

    /**
     * 蓝票作废
     */
    private String invlidRedInvoiceTotalPrice;
    private String invlidRedInvoiceTotalTax;
    private String invlidRedInvoiceTotalPriceTax;

    private String invoiceDateTax;
    private String invoiceDatePriceTax;
    private String invoiceDatePrice;
    @ExcelResources(title="序号",order=1)
    public String getIndexNomber() {
        return indexNomber;
    }

    @ExcelResources(title="支付小区",order=2)
    public String getEstateName() {
        return estateName;
    }

    @ExcelResources(title="业务类型",order=3)
    public String getBusinessTypeName() {
        return businessTypeName;
    }

    public void setIndexNomber(String indexNomber) {
        this.indexNomber = indexNomber;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }
    @ExcelResources(title="开票日期",order=4)
    public String getInvoiceDate() {
        return invoiceDate;
    }

    public void setInvoiceDate(String invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    public void setEstateName(String estateName) {
        this.estateName = estateName;
    }

    public String getEstateSfGuid() {
        return estateSfGuid;
    }

    public void setEstateSfGuid(String estateSfGuid) {
        this.estateSfGuid = estateSfGuid;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }
    @ExcelResources(title="业务类型",order=5)
    public void setBusinessTypeName(String businessTypeName) {
        this.businessTypeName = businessTypeName;
    }

    public String getBlueInvoiceTotalPrice() {
        return blueInvoiceTotalPrice;
    }

    public void setBlueInvoiceTotalPrice(String blueInvoiceTotalPrice) {
        this.blueInvoiceTotalPrice = blueInvoiceTotalPrice;
    }

    public String getBlueInvoiceTotalTax() {
        return blueInvoiceTotalTax;
    }

    public void setBlueInvoiceTotalTax(String blueInvoiceTotalTax) {
        this.blueInvoiceTotalTax = blueInvoiceTotalTax;
    }

    public String getBlueInvoiceTotalPriceTax() {
        return blueInvoiceTotalPriceTax;
    }

    public void setBlueInvoiceTotalPriceTax(String blueInvoiceTotalPriceTax) {
        this.blueInvoiceTotalPriceTax = blueInvoiceTotalPriceTax;
    }

    public String getRedInvoiceTotalPrice() {
        return redInvoiceTotalPrice;
    }

    public void setRedInvoiceTotalPrice(String redInvoiceTotalPrice) {
        this.redInvoiceTotalPrice = redInvoiceTotalPrice;
    }

    public String getRedInvoiceTotalTax() {
        return redInvoiceTotalTax;
    }

    public void setRedInvoiceTotalTax(String redInvoiceTotalTax) {
        this.redInvoiceTotalTax = redInvoiceTotalTax;
    }

    public String getRedInvoiceTotalPriceTax() {
        return redInvoiceTotalPriceTax;
    }

    public void setRedInvoiceTotalPriceTax(String redInvoiceTotalPriceTax) {
        this.redInvoiceTotalPriceTax = redInvoiceTotalPriceTax;
    }

    public String getInvlidBlueInvoiceTotalPrice() {
        return invlidBlueInvoiceTotalPrice;
    }

    public void setInvlidBlueInvoiceTotalPrice(String invlidBlueInvoiceTotalPrice) {
        this.invlidBlueInvoiceTotalPrice = invlidBlueInvoiceTotalPrice;
    }

    public String getInvlidBlueInvoiceTotalTax() {
        return invlidBlueInvoiceTotalTax;
    }

    public void setInvlidBlueInvoiceTotalTax(String invlidBlueInvoiceTotalTax) {
        this.invlidBlueInvoiceTotalTax = invlidBlueInvoiceTotalTax;
    }

    public String getInvlidBlueInvoiceTotalPriceTax() {
        return invlidBlueInvoiceTotalPriceTax;
    }

    public void setInvlidBlueInvoiceTotalPriceTax(String invlidBlueInvoiceTotalPriceTax) {
        this.invlidBlueInvoiceTotalPriceTax = invlidBlueInvoiceTotalPriceTax;
    }

    public String getInvlidRedInvoiceTotalPrice() {
        return invlidRedInvoiceTotalPrice;
    }

    public void setInvlidRedInvoiceTotalPrice(String invlidRedInvoiceTotalPrice) {
        this.invlidRedInvoiceTotalPrice = invlidRedInvoiceTotalPrice;
    }

    public String getInvlidRedInvoiceTotalTax() {
        return invlidRedInvoiceTotalTax;
    }

    public void setInvlidRedInvoiceTotalTax(String invlidRedInvoiceTotalTax) {
        this.invlidRedInvoiceTotalTax = invlidRedInvoiceTotalTax;
    }

    public String getInvlidRedInvoiceTotalPriceTax() {
        return invlidRedInvoiceTotalPriceTax;
    }

    public void setInvlidRedInvoiceTotalPriceTax(String invlidRedInvoiceTotalPriceTax) {
        this.invlidRedInvoiceTotalPriceTax = invlidRedInvoiceTotalPriceTax;
    }

    @ExcelResources(title="开票税额",order=7)
    public String getInvoiceDateTax() {
        //税额=蓝票税额-蓝票作废税额-红票税额+红票作废税额
        return Float.valueOf(blueInvoiceTotalTax)-Float.valueOf(redInvoiceTotalTax)-Float.valueOf(invlidBlueInvoiceTotalTax)+Float.valueOf(invlidRedInvoiceTotalTax)+"";
    }

    public void setInvoiceDateTax(String invoiceDateTax) {
        this.invoiceDateTax = invoiceDateTax;
    }

    @ExcelResources(title="开票金额（含税）",order=8)
    public String getInvoiceDatePriceTax() {
        //金额不含税=蓝票金额不含税-蓝票作废金额不含税-红票金额不含税+红票作废金额不含税
        return Float.valueOf(blueInvoiceTotalPriceTax)-Float.valueOf(invlidBlueInvoiceTotalPriceTax)-Float.valueOf(redInvoiceTotalPriceTax)+Float.valueOf(invlidRedInvoiceTotalPriceTax)+"";
    }

    public void setInvoiceDatePriceTax(String invoiceDatePriceTax) {
        this.invoiceDatePriceTax = invoiceDatePriceTax;
    }

    @ExcelResources(title="开票金额（不含税）",order=6)
    public String getInvoiceDatePrice() {
        //金额不含税=蓝票金额不含税-蓝票作废金额不含税-红票金额不含税+红票作废金额不含税
        return Float.valueOf(blueInvoiceTotalPrice)-Float.valueOf(invlidBlueInvoiceTotalPrice)-Float.valueOf(redInvoiceTotalPrice)+Float.valueOf(invlidRedInvoiceTotalPrice)+"";
    }

    public void setInvoiceDatePrice(String invoiceDatePrice) {
        this.invoiceDatePrice = invoiceDatePrice;
    }

}
